package com.stormragetech.teamwork.common.util;

import java.util.Base64;

/**
 * description: //TODO
 *
 * @author: Xue Bin
 * @version: 1.0.0-SNAPSHOT
 */
class Base64Coder {

    static byte[] decode(String key) {
        return Base64.getDecoder().decode(key);
    }

    static String encode(byte[] key) {
        return Base64.getEncoder().encodeToString(key);
    }

}
